#if !defined(AFX_PLAYERLISTCTRL_H__A9281F83_7E3A_4C48_BFAE_5A8D13319169__INCLUDED_)
#define AFX_PLAYERLISTCTRL_H__A9281F83_7E3A_4C48_BFAE_5A8D13319169__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PlayerListCtrl.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPlayerListCtrl window
#define LISTFILE_DEVNAME		1
#define LISTFILE_FILENAMEPOS	5
#define LISTFILE_FILEPATHPOS	6
#include "..\mysocket.h"


class CPlayerListCtrl : public CListCtrl
{
// Construction
public:
	CPlayerListCtrl();
	int m_nCurPlayIndex;
	CWinThread	*m_pFileSaveAsThread;
	CString		m_strSaveAsPath;   
	bool		m_bFileSaveAsCancel;
	bool		m_bRemoteHost;
	CMySocket	*m_pSocket;
	CString		m_strLocation;
// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPlayerListCtrl)
	//}}AFX_VIRTUAL

// Implementation
public:
	CMenu*		      m_pMenu;              // pointer to the menu
	CMenu		      m_Menu;              // the menu
	void SetCurPlayIndex(int nCurPlayIndex);
	virtual ~CPlayerListCtrl();
	void OnPlayerSaveAs();

	// Generated message map functions
protected:
	LPNMLVCUSTOMDRAW lplvcd;


	//{{AFX_MSG(CPlayerListCtrl)
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnCustomDraw(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PLAYERLISTCTRL_H__A9281F83_7E3A_4C48_BFAE_5A8D13319169__INCLUDED_)
